<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath();
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册用户</title>
<script type="text/javascript"
	src="<%=path%>/common/js/jquery-1.7.1.min.js"></script>

<script type="text/javascript">
	var path = '<%=path%>';
</script>

<script type="text/javascript" src="<%=path%>/js/RegisterUser.js"></script>
<link rel="stylesheet" type="text/css" href="<%=path%>/css/register.css">
</head>
<body>
<h1>员工注册</h1>
	<form action="userServlet" method="post">
	<input type="hidden" name="method" value="RegisterUser"> 	
	<span>登陆账户</span><input type="text" name="userName" placeholder="请输入账户名" /><br/><br/>
	<span>密码</span><input type="text" name="password" placeholder="请输入密码" /><br/><br/>     
	<span>职位</span><select name="userPosition">
			<option>店长</option>
			<option>员工</option>	
		    </select><br /> <br /> 
	 <span>姓名</span><input type="text" name="name" placeholder="请输入密码" /><br/><br/>
	 <input type="radio" name="userSex" value="男" data-sex="男" />男
	 <input type="radio" name="userSex" value="女" data-sex="女" />女<br /><br />
	 <span>身份证号码</span><input type="text" name="userIdCard" placeholder="请输入身份证" /><span id="mark"></span><br/><br/> 
	 <span>年龄</span><input type="text" name="age" placeholder="请输入年龄" /><br/><br/>        
			<input type="submit" value="注册">
			<input type="reset" value="重置">
	</form>
</body>
</html>